package hvz.app;

import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class HvZ3710Activity extends Activity {
    /** Called when the activity is first created. */
	
	private Button loginBtn;
	private Button exitBtn;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        loginBtn = (Button)findViewById(R.id.loginButton);
        exitBtn = (Button)findViewById(R.id.exitButton);
        
        
        loginBtn.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				Intent nextScreen = new Intent(getApplicationContext(),
						LoginScreenActivity.class);
				startActivity(nextScreen);
				finish();
				
			}
		});
        
        exitBtn.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				finish();
				
			}
		});
    }
}